package com.woniu.model.sportsHealth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 步数表
 * </p>
 *
 * @author Jet
 * @since 2023-10-23
 */
@Getter
@Setter
  @TableName("sh_step")
@ApiModel(value = "Step对象", description = "步数表")
public class Step implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("步数表")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("时间")
      private Date runDate;

      @ApiModelProperty("起始时间")
      private Date runStarttime;

      @ApiModelProperty("结束时间")
      private Date runEndtime;

      @ApiModelProperty("步数")
      private Integer stepNumber;

      @ApiModelProperty("距离")
      private Double distance;

      @ApiModelProperty("消耗热量")
      private Double consume;

      @ApiModelProperty("用户id外键")
      private Long shUserId;


}
